package com.wx.pay.service;

import com.wx.pay.common.ResultData;
import com.wx.pay.vo.PayVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface WXPayService
{
    /**
     * 下单
     * @param payVO
     * @return
     * @throws Exception
     */
    ResultData doUnifiedOrder(PayVO payVO) ;

    /**
     * 微信支付回调
     * @param request
     * @param response
     */
    void wxAppletPayCallback(HttpServletRequest request, HttpServletResponse response);
}
